Courses Offered: SCJP SCWCD Design patterns EJB CORE JAVA AJAX Adv. Java XML STRUTS Web services SPRING HIBERNATE  

       

Log4J Course Details
 

 

Batch Date: Jan 11th @ 9:00AM

Faculty: Mr. Rajesh

Duration: 1 day - four hours  
         
       

Fee:  200/- INR
+ Reg: 100/-

Location : S.R Nagar, Hyderabad.

** Complete Material wii be Provided.....

ATTEND ALL JAVA REAL TIME TOOLS (ANT,AJAX,LOG4J,Maven,SVN,JUNIT,CVS&JASPER REPORTS) WITH Rs.1000 ONLY.

Attend Multiple Tools (More Than One Tool) Each Tool 150 INR Only

Venue :
DURGA SOFTWARE SOLUTIONS at S.R NAGAR
23/3RT IInd Floor,
Opp.Andhra Bank,
Near Umesh Chandra Statue,
S.R.Nagar,
Hyderabad - 500038,
Ph.No : 040 - 64512786, 09246212143

Syllabus:

1. Introduction to Logging

  • What is Logging
  • Importance of Logging
  • Logging Frameworks for JAVA

2. Introduction to Log4J

  • What is Log4J?
  • Why we need to use Log4J?
  • Log4J Features
  • Log4J Advantages

3. Log4J Setup for Java: Standalone and Web Applications

  • Download Log4J
  • log4J Jar file
  • log4j.properties

4. Log4J Development Approaches

  • Programmatic
  • Declarative

5. Log4J Programmatic Implementation

  • Logger
  • BasicConfiguror, PropertyConfigurator
  • Setting Logging Level

6. Log4J Logging Levels

  • Default Logging Level
  • Available Logging Levels
    DEBUG, INFO, WARN, ERROR and FATAL

7. Log4J Declarative Implementation: log4j.properties Configuration

  • Set Debug Level
  • Set Appender
  • Set PatternLayout
  • Set ConversionPattern

8. Log4J Appenders

  • ConsoleAppender
  • FileAppender
  • AdminFileAppender
  • ReportFileAppender
  • Setting Single Appender
  • Setting Multiple Appenders

9. Log4J Implementation with xml file

  • log4j.xml
  • <log4j:configuration>
  • Setting Appenders
  • Setting Log Level
  • Setting Conversion Pattern

10. Conversion Pattern Syntax

  • TTCC
  • TTCCLayout
  • Time Elapsed
  • Thread Information
  • Logging Priority
  • Logging Category
  • NDC - Nested Diagnostic Context
  • Application Message